/**
*
* AndroidConfig.as
* Niels Overwijn
* 
* Copyright (c) 2010 Niels Overwijn
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
*/

package niels.android
{
	
	import flash.filters.DropShadowFilter;
	import flash.system.Capabilities;
	import flash.text.TextFormat;
	import flash.text.TextFormatAlign;
	
	/**
	 * Configure the menu and alert here
	 * @author Niels Overwijn
	 */
	public class AndroidConfig
	{
		public static const MENUITEM_BACKGROUND_COLOR:uint = 0x444444;
		public static const MENUITEM_BACKGROUND_COLOR_OVER:uint = 0x222222;
		public static const MENUITEM_BACKGROUND_ALPHA:Number = 1;
		
		public static const MENUITEM_BORDER_WIDTH:Number = 0.5;
		public static const MENUITEM_BORDER_COLOR:uint = 0xCCCCCC;
		public static const MENUITEM_BORDER_ALPHA:Number = 1;
		
		public static const MENUITEM_TEXTFORMAT:TextFormat = new TextFormat("Verdana", 18, 0xFFFFFF, false, false, false, null, null, TextFormatAlign.CENTER);
		public static const MENUITEM_HEIGHT:Number = 100;
		
		public static const MENU_WIDTH:Number = 480;
		
		public static const AUTO_CLOSE_AFTER_SELECT:Boolean = false;
		public static const TRANSITION_TYPE:String = TransitionType.EASE_OUT_ELASTIC;
		public static const TRANSITION_TIME:Number = 0.2;
		public static const MAX_ITEMS_IN_ROW:Number = 4;
		
		public static const ALERT_DISPLAY_TIME:Number = 10000;
		public static const ALERT_BACKGROUND_COLOR:uint = 0xCCCCCC;
		public static const ALERT_BORDER_COLOR:uint = 0xFFFFFF;
		public static const ALERT_TEXT_FORMAT:TextFormat = new TextFormat("Verdana", 20, 0xFFFFFF, false, false, false, null, null, TextFormatAlign.CENTER)
		public static const ALERT_Y_PERC_FROM_BOTTOM:Number = 50;
		public static const	ALERT_ALPHA:Number = 1;
		public static const ALERT_DROP_SHADOW_ENABLED:Boolean = true;
		public static const ALERT_DROP_SHADOW_FILTER:DropShadowFilter = new DropShadowFilter(2, 45, 0x000000, 1, 5, 1, 1, 3);
		
		public static const WIDTH:Number = Capabilities.screenResolutionX;
		public static const HEIGHT:Number = Capabilities.screenResolutionY;
		
	}

}